package com.hbyj.object;

import com.hbyj.db.function.DbTools;
import com.hbyj.hbm.vo.Functions;
import com.hbyj.hbm.vo.RoleFunction;
import com.hbyj.hbm.vo.Roles;


public class RoleWithFunction {
	
	private int functionId;
	private Boolean c;
	private Boolean u;
	private Boolean r;
	private Boolean d;
	
	public  RoleWithFunction(){
		
	}
	
	public RoleWithFunction(RoleFunction hiberObj){
		this.functionId = hiberObj.getFunctions().getId();
		this.c = hiberObj.getC();
		this.u = hiberObj.getU();
		this.r = hiberObj.getR();
		this.d = hiberObj.getD();
	}


	public void setC(Boolean c) {
		this.c = c;
	}
	public Boolean getC() {
		return c;
	}
	public void setU(Boolean u) {
		this.u = u;
	}
	public Boolean getU() {
		return u;
	}
	public void setR(Boolean r) {
		this.r = r;
	}
	public Boolean getR() {
		return r;
	}
	public void setD(Boolean d) {
		this.d = d;
	}
	public Boolean getD() {
		return d;
	}
	public void setFunctionId(int functionId) {
		this.functionId = functionId;
	}
	public int getFunctionId() {
		return functionId;
	}
}
